package com.atguigu.srb.core.mapper;

import com.atguigu.srb.core.pojo.entity.BorrowerAttach;
import com.atguigu.srb.core.pojo.vo.BorrowerAttachVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 借款人上传资源表 Mapper 接口
 * </p>
 *
 * @author lwm
 * @since 2022-02-10
 */
public interface BorrowerAttachMapper extends BaseMapper<BorrowerAttach> {

    /**
     * 根据borrowerId查询附件集合
     * @param borrowerId
     * @return
     */
    List<BorrowerAttachVO> selectVOByBorrowerId(Long borrowerId);
}
